package com.evil.application.pojo.dto.pack;

import com.evil.common.application.dto.permission.app.AppPermissionsListDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import jakarta.validation.constraints.NotBlank;

/**
 * 新增应用包 请求实体
 *
 * @author liyang
 * @date 2022-08-08 00:00
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class PackageReqDTO extends AppPermissionsListDTO {

    /**
     * 企业ID
     */
    private Long enterpriseId;

    /**
     * 应用包名
     */
    @NotBlank(message = "应用包名不能为空")
    private String packageName;

    /**
     * icon文件code
     */
    private String iconFileCode;
}
